Disable doctests separately from tests
authorAlex Crichton <alex@alexcrichton.com>
Mon, 11 Aug 2014 04:27:17 +0000 (21:27 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Mon, 11 Aug 2014 04:28:19 +0000 (21:28 -0700)
commitf187578d1fe036572ae213905b7c4b214f69ebc6
treeeb1daed542c0826fa62e687a156823a45d87f1d6
parentced04ffed3b087c28e964f58a51e29563d4bce1b
Disable doctests separately from tests

This adds a `doctest = false` option to the `Cargo.toml` config for a target to
disable doc tests for the target. Notably `test = false` does not disable this
as it is separately toggleable.

Closes #353
src/cargo/core/manifest.rs
src/cargo/ops/cargo_test.rs
src/cargo/util/toml.rs
tests/test_cargo_test.rs